package com.ruoyi.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 生产排程对象 schedule
 * 
 * @author LongAndHao
 * @date 2024-11-04
 */
public class Schedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排产计划id */
    private Long scheduleId;

    /** 表示关联的产线 */
    @Excel(name = "表示关联的产线")
    private Long lineId;
    /** 表示关联的产线 */
    @Excel(name = "表示关联的产线")
    private String lineName;

    /** 表示关联的车间任务 */
    @Excel(name = "表示关联的车间任务")
    private Long taskId;


    /** 表示关联的车间任务 */
    @Excel(name = "表示关联的车间任务")
    private String taskName;
    /** 表示关联的车间任务 */
    @Excel(name = "表示关联的车间任务")
    private Long readyNum;
    /** 表示关联的车间任务 */
    @Excel(name = "表示关联的车间任务")
    private Long planNum;
    /** 排程状态（如“计划中”、“完成”） */
    @Excel(name = "排程状态", readConverterExp = "如=“计划中”、“完成”")
    private Long status;

    /** 排程状态（如“计划中”、“完成”） */
    @Excel(name = "排程状态", readConverterExp = "如=“计划中”、“完成”")
    private Date dateTime;

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Long getReadyNum() {
        return readyNum;
    }

    public void setReadyNum(Long readyNum) {
        this.readyNum = readyNum;
    }

    public Long getPlanNum() {
        return planNum;
    }

    public void setPlanNum(Long planNum) {
        this.planNum = planNum;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    public void setScheduleId(Long scheduleId)
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }
    public void setLineId(Long lineId) 
    {
        this.lineId = lineId;
    }

    public Long getLineId() 
    {
        return lineId;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scheduleId", getScheduleId())
            .append("lineId", getLineId())
            .append("taskId", getTaskId())
            .append("status", getStatus())
            .toString();
    }
}
